onCompletion

Called when the end of a media source is reached during playback. This implementation logs the completion and schedules a restart of the player via initPlayer after a short delay (500ms). This creates a looping behavior.

Parameters

mp

The MediaPlayer that reached the end of the source.